Skip to content

feat(decisions): implement shared ElBruno.AI.Decisions IDecisionClient (v0.23.0) - #57

Merged
elbruno merged 1 commit into
mainfrom
elbruno-onnx-local-models-research
Oct 10, 2026
Merged

elbruno merged 1 commit into
mainfrom
elbruno-onnx-local-models-research

Conversation

@elbruno

@elbruno elbruno commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Makes ElBruno.LocalLLMs.Decisions an in-process ONNX provider for the shared ElBruno.AI.Decisions 0.6.2 abstractions.

  • LayaOnnxDecisionClient implements ElBruno.AI.Decisions.IDecisionClient (Choose/Score/Assess), with probabilities clamped to [0,1] and shared request validation.
  • v0.22.0 IDecisionClient renamed ILayaDecisionClient (extends the shared one; keeps EvaluateAsync batching and CalibrationClamped). Breaking for code that injected the old interface.
  • DecisionException is now the shared type.
  • AddLocalDecisions() registers both interfaces; shared one via TryAdd.
  • New SharedDecisions sample (neutral API + DecisionRoutingChatClient), run live.
  • 85 Decisions tests pass; docs, README, CHANGELOG updated; version 0.23.0.

Note: depends on an early-access 0.6.x package.

…lient (v0.23.0)

LayaOnnxDecisionClient is now a provider for ElBruno.AI.Decisions 0.6.2. The rich
v0.22.0 interface is renamed ILayaDecisionClient and extends the shared one.
DecisionException comes from the shared package. BREAKING for v0.22.0 injectors.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c71e4170-a73a-4ac2-8c59-4b80834e7968
@elbruno
elbruno merged commit 9fe4744 into main Oct 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant